using System;
using System.Runtime.Serialization;

namespace ServiceContract.Dtos
{
    [DataContract]
    public class Product
    {
        [DataMember]
        public Guid ID { get; set; }

        /// <summary>
        /// Gets or sets product name
        /// </summary>
        [DataMember]
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets product manufacturer
        /// </summary>
        [DataMember]
        public Guid ManufacturerId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public int ModelYear { get; set; }
    }
}